package se.sics.kompics.tutorial.tutorial2.lazyProbabilisticBcast.messages;

import se.sics.kompics.address.Address;

/**
 * Event used to provide a message via gossiping
 *
 */
public class DataMessage extends PbMessage {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8476947920585389237L;
	
	private final String message;

	public DataMessage(Address source, int counter, String message) {
		super(source, counter);
		this.message = message;
	}

	public String getMessage() {
		return message;
	}
	

}
